<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../baselist.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>部门列表</title>
</head>

<body>
<form name="icform" method="post" >

<div id="menubar">
<div id="middleMenubar">
<div id="innerMenubar">
  <div id="navMenubar">
<ul>
	
	<li id="new"><a href="#" onclick="window.history.go(-1)">返回</a></li>
	<li id="new"><a href="#" onclick="formSubmit('update','_self');this.blur();">提交</a></li>
</ul>
  </div>
</div>
</div>
</div>
   
  <div class="textbox-title">
	<img src="../../staticfile/skin/default/images/icon/currency_yen.png"/>
   模块修改
  </div> 
  
<div>


<div class="eXtremeTable" >
<table id="ec_table" class="tableRegion" width="98%" >
	<tr>
		<input type="hidden" name="moduleId" value="${module.moduleId}"/>
	</tr>
	<tr>
		<td>模块的名称</td>
		<td><input type="text" name="name" value="${module.name}"></td>
	</tr>
	<tr>
		<td>模块类型</td>
		<td>
			<select name="ctype" style="width:121px">
				<option value="">---请选择---</option>
				<option value="1" <c:if test="${module.ctype==1}">selected="selected"</c:if> >主菜单</option>
				<option value="2" <c:if test="${module.ctype==2}">selected="selected"</c:if>>左菜单</option>
				<option value="3" <c:if test="${module.ctype==3}">selected="selected"</c:if>>按钮</option>
			</select>
		</td>
	</tr>
	
	<tr>
		<td>上级模块 </td>
		<td>
		<select name="parentModule.moduleId"  style="width:121px" >
		  <option value="">---请选择---</option>
		<c:forEach items="${dataList}" var="m">
			<option value="${m.moduleId}" <c:if test="${module.parentModule.moduleId==m.moduleId}">selected="selected"</c:if>>${m.name}</option>
		</c:forEach>
		</select>
		</td>
	</tr>
	<tr>
		<td>排序号</td>
		<td><input type="text" name="orderNo"/ value="${module.orderNo}"></td>
	</tr>
	<tr>
		<td>说明</td>
		<td colspan="3">
		<textarea name="remark" style="width:100%;height:120px">${module.remark}</textarea>
		</td>
	</tr>
</table>
</div>
 
</div>
 
 
</form>
</body>
</html>

